<script setup lang="ts">
import {useRoute , useRouter} from "vue-router";

const route = useRoute();
const router = useRouter();
console.log(route.path);
console.log(router);

</script>

<template>
  <div>
    <h2>05_路由.vue</h2>
  </div>
</template>

<style scoped>

</style>